package com.corpgovernment.travelstandard.entity.db;

import com.corpgovernment.common.entity.db.BaseEntity;
import lombok.Data;
import org.apache.ibatis.type.Alias;

import javax.persistence.Column;
import javax.persistence.Table;

/**
 * 机票舱等管控信息表
 **/
@Alias("mbTravelstandFlightCabin")
@Data
@Table(name = "mb_travelstand_flight_cabin")
public class MbTravelstandFlightCabin extends BaseEntity {

    /**
     * 差标类型（F-国内机票、IF-国际机票
     */
    @Column(name = "ts_type")
    private String tsType;

    /**
     * 机票差标id
     */
    @Column(name = "ts_flight_id")
    private Long tsFlightId;

    /**
     * 舱等类型 F-屏蔽 T-可预订
     */
    @Column(name = "cabin_type")
    private String cabinType;

    /**
     * 舱位类型 经济舱Y、商务舱C、头等舱F、超级经济舱W
     */
    @Column(name = "class_code")
    private String classCode;

    /**
     * 可订舱等限制类型 F-不限 T-限制
     */
    @Column(name = "flight_duration_type")
    private String flightDurationType;

    /**
     * 飞行时长
     */
    @Column(name = "flight_duration_num")
    private Integer flightDurationNum;

}
